{yun:}include file="$wapstyle/member/cheader.htm"{/yun} 
<div class="main_member_cot_box">
<ul class="yun_m_tit_four">
  <li><a href="index.php?c=fav_subject">收藏的课程</a></li>
  <li class="yun_m_tit_cur"><a href="index.php?c=baoming_subject">报名的课程</a></li>
  <li><a href="index.php?c=atn_teacher">关注的讲师</a></li>
   <li><a href="index.php?c=subject_zixun">留言</a></li>
  </ul>
  


<div class="wap_member_post_list">
{yun:}foreach item=v from=$rows{/yun}
{yun:}assign var="state" value=$v.order_state{/yun}
<div class="com_member_hr">
 <div class="com_member_hr_name"> 
<a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}"  class="wap_member_com_name  com_member_hr_cblue">{yun:}$v.subname{/yun}</a>
</div>
 <div class="user_member_box">

  <div class="com_member_hr_p1"><span class="member_c9">机构名称：</span>{yun:}$v.trainname{/yun}</div>
  <div class="com_member_hr_p1"><span class="member_c9">课程费用：</span>￥{yun:}$v.price{/yun}</div>
  <div class="com_member_hr_p1"><span class="member_c9">收费方式：</span><span style="color:#29BF1E">{yun:}if $v.isprice==1{/yun}在线收费{yun:}else{/yun}到场收费{yun:}/if{/yun}</span></div>
 <div class="com_member_hr_p1"><span class="member_c9">报名时间：</span>{yun:}$v.ctime|date_format:"%Y-%m-%d"{/yun}</div>
 {yun:}if $v.isprice==1{/yun}
  <div class="com_member_hr_p1"><span class="member_c9">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：{yun:}if $v.order_state=='2'{/yun}<font color="red">报名成功</font>{yun:}else{/yun}{yun:}$arr_data.paystate.$state{/yun}{yun:}/if{/yun}</span></div>
   {yun:}else{/yun}
 <div class="com_member_hr_p1"><span class="member_c9">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：<font color="red">报名成功</font></span></div>
 {yun:}/if{/yun}
 </div>
 {yun:}if $v.isprice==1{/yun}
  <div class="com_member_hr_cz">
{yun:}if $v.order_state==1{/yun}
<a href="index.php?c=payment&id={yun:}$v.oid{/yun}"  class="yun_member_hr_bth">去付款</a>
{yun:}/if{/yun}
<a href="javascript:void(0)" onclick="layer_del('确定要取消报名吗？','index.php?c=baoming_subject&del={yun:}$v.id{/yun}')" class="yun_member_hr_bth">取消报名</a>
<a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}" class="yun_member_hr_bth">查看详情</a>
</div>
  {yun:}else{/yun}
<div class="com_member_hr_cz">
<a href="javascript:void(0)" onclick="layer_del('确定要取消报名吗？','index.php?c=baoming_subject&del={yun:}$v.id{/yun}')" class="yun_member_hr_bth">取消报名</a>
<a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}" class="yun_member_hr_bth">查看详情</a>
</div>
{yun:}/if{/yun}

</div>

{yun:}foreachelse{/yun}
<div class="wap_member_no">
暂无报名的课程<div><a class="wap_member_no_submit" href="{yun:}url m=wap c=train a=subject{/yun}">去搜索我感兴趣的培训课程</a></div>
</div>
{yun:}/foreach{/yun}
</div>

<div class="pages"> {yun:}$pagenav{/yun}</div>
</div>
</div>
{yun:}include file="$wapstyle/footer.htm"{/yun} 